Core ML Has Added Index_Put Support, No Need to Skip Anymore#2975
Core ML Has Added Index_Put Support, No Need to Skip Anymore#2975YifanShenSZ wants to merge 1 commit intopytorch:mainfrom
Index_Put Support, No Need to Skip Anymore#2975Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/2975
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 1 Unrelated FailureAs of commit b9b953b with merge base b145701 ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
I have verified llama delegation based on branch |
|
Thanks! Does runtime side work? I remember Gyan mentioned he is working on it |
|
@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@pytorchbot cherry-pick --onto release/0.2 -c critical |
Summary: It was a workaround to skip `aten.index_put` op in Core ML delegation, at the cost of partitioning the Llama model into 13 pieces. For better performance, we prefer to delegate the whole model to Core ML. Since Core ML has added the [necessary support](apple/coremltools#2190), it is time to revert this workaround Pull Request resolved: #2975 Reviewed By: kirklandsign Differential Revision: D56002979 Pulled By: cccclai fbshipit-source-id: e7a7c8c43706cb57eba3e6f720b3d713bec5065b (cherry picked from commit 7d4bafc)
Cherry picking #2975The cherry pick PR is at #3157 and it is recommended to link a critical cherry pick PR with an issue Details for Dev Infra teamRaised by workflow job |
#3157) Summary: It was a workaround to skip `aten.index_put` op in Core ML delegation, at the cost of partitioning the Llama model into 13 pieces. For better performance, we prefer to delegate the whole model to Core ML. Since Core ML has added the [necessary support](apple/coremltools#2190), it is time to revert this workaround Pull Request resolved: #2975 Reviewed By: kirklandsign Differential Revision: D56002979 Pulled By: cccclai fbshipit-source-id: e7a7c8c43706cb57eba3e6f720b3d713bec5065b (cherry picked from commit 7d4bafc) Co-authored-by: yifan_shen3 <yifan_shen3@apple.com>
It was a workaround to skip
aten.index_putop in Core ML delegation, at the cost of partitioning the Llama model into 13 pieces.For better performance, we prefer to delegate the whole model to Core ML. Since Core ML has added the necessary support, it is time to revert this workaround